import 'package:get/get.dart';
// import '../screens/home_page.dart';
// import '../screens/login_page.dart';
// import '../screens/register_page.dart';
// import '../screens/user_profile_page.dart';
import '../screens/chat_page.dart'; // 导入聊天页面
import 'routes.dart';

// ... existing code ...

class AppPages {
  static final pages = [
    // ... 其他页面
    GetPage(
      name: Routes.CHAT,
      page: () => ChatPage(
        userId: Get.arguments['userId'],
        userNickname: Get.arguments['userNickname'],
        userAvatarUrl: Get.arguments['userAvatarUrl'],
      ),
      transition: Transition.rightToLeft,
    ),
  ];
}